package com.itheima.method;

public class MethodDems {
    public static void main(String[] args) {
        // 强制类型转换
        int a = 10;
        byte b = (byte) a;
        outNum(b);
    }

    public static void show(int a) {
        System.out.println(a);
    }

    public static void show(String a) {
        System.out.println(a);
    }

    public static void show(double a) {
        System.out.println(a);
    }

    public static void outNum(byte i) {
        System.out.println(i);
    }
}
